Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-22340 | GEN001430 | SV-26441r2_rule | ECLP-1 | Medium |
Description |
---|
The /etc/shadow file contains the list of local system accounts. It is vital to system security and must be protected from unauthorized modification. The file also contains password hashes which must not be accessible to users other than root. |
STIG | Date |
---|---|
HP-UX 11.31 Security Technical Implementation Guide | 2015-03-18 |
Check Text ( C-36357r4_chk ) |
---|
For Trusted Mode: Check the TCB auth files and directories. # ls -lLd /tcb /tcb/files /tcp/files/auth # ls -lL /tcb/files/auth/[a-z,A-Z]/* If the permissions of any of the /tcb files and directories include a “+”, this is a finding. For SMSE: Check the /etc/shadow file. # ls -lL /etc/shadow If the /etc/shadow file permissions include a “+”, the file has an extended ACL, this is a finding. |
Fix Text (F-31693r3_fix) |
---|
For Trusted Mode: # chacl -z /tcb # chacl -z /tcb/files /tcb/files/auth # chacl -z /tcb/files/auth/[a-z]/* For SMSE: # chacl -z /etc/shadow |